package generic1;

/**
 * @Auther: 杨通通
 * @Date: 2024/10/23 23:25
 * @Description:
 */
public class MiniCat extends Cat{
    public Integer level;

    public MiniCat(String name, Integer age, int level) {
        super(name, age);
        this.level = level;
    }

    @Override
    public String toString() {
        return "MiniCat{" +
                "level=" + level +
                ", age=" + age +
                ", name='" + name + '\'' +
                '}';
    }
}